package student;

public class Student {
    private int sid;
    private String sname;
    private int sage;
    private int smax;

    public Student() {
    }

    public Student(int sid, String sname, int sage, int smax) {
        this.sid = sid;
        this.sname = sname;
        this.sage = sage;
        this.smax = smax;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public int getSage() {
        return sage;
    }

    public void setSage(int sage) {
        this.sage = sage;
    }


    public void setSmax(int smax) {
        this.smax = smax;
    }

    public int getSmax() {
        return smax;
    }
}
